﻿using SanZhan.Models.Team;
using SanZhan.Models.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Battle
{
    public class BattleInfo
    {
        public string guid { get; set; }
        public DateTime date { get; set; }
        public UserTeam attacker { get; set; }
        public UserTeam defender { get; set; }
        public int RoundNUM { get; set; }
        public int Intent { get; set; }
        public Place Place { get; set; }
        public List<string> logs { get; set; } = new List<string>();

        public BattleInfo(UserTeam _attacker, UserTeam _defender, Place place)
        {
            guid = Guid.NewGuid().ToString();
            date = DateTime.Now;
            attacker = _attacker;
            defender = _defender;
            Place = place;
        }

    }
}
